package com.tbit.uqbike.client.dao.log;

import com.tbit.uqbike.client.pojo.MachineAlarmLog;

import java.util.List;

/**
 * @author: ShiGuang
 * @create: 2021-12-20 18:04
 * @description: 车辆预警日志
 */
public interface MachineAlarmLogDao {

    /**
     * 添加
     *
     * @param machineAlarmLog
     */
    void insert(MachineAlarmLog machineAlarmLog);

    /**
     * 根据中控编号查询
     *
     * @param userCode
     * @return
     */
    List<MachineAlarmLog> getByUserCode(String userCode);
}
